home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / compress / zip2zi31.zip / ZIP2-ZNP.BAT < prev    next >
DOS Batch File  |  1993-05-31  |  499b  |  13 lines

  1. @Echo off
  2. Rem ZIP2-ZNP.BAT To test a .ZIP File for a .zip file in it's path structure.
  3. Rem %1 is DRV:\Path\,  %2 is FileName  [.ZIP assumed]
  4. Rem Return of FSIZE=0 is no zip in path. Non 0 = ZIP in .ZIP's Path
  5.  
  6.     PKunZIP -d %1 -@ZIP2-FSZ.
  7.     Find "/" ZIP2-FSZ. | Find ".ZIP" >ZIP2-FSZ.
  8.     Call ZIP2-FSZ.BAT
  9.     IF "%FSIZE%"=="0" Echo   Good! %1 Contains NO .ZIP Files Within It's Path.
  10.     IF "%FSIZE%"=="0" GoTo End
  11.       Echo Hmmm.. %1 Has One Or More .ZIP Files In It's Path.
  12. :End
  13.